package one.stand.model;

import java.io.Serializable;
import java.util.Date;

public class Thumbs implements Serializable {
    private Integer thumbsId;

    private Integer userId;

    private String userName;

    private Integer itemType;

    private Integer itemId;

    private Date createTime;

    private static final long serialVersionUID = 1L;

    public Thumbs(Integer thumbsId, Integer userId, String userName, Integer itemType, Integer itemId, Date createTime) {
        this.thumbsId = thumbsId;
        this.userId = userId;
        this.userName = userName;
        this.itemType = itemType;
        this.itemId = itemId;
        this.createTime = createTime;
    }

    public Thumbs() {
        super();
    }

    public Integer getThumbsId() {
        return thumbsId;
    }

    public void setThumbsId(Integer thumbsId) {
        this.thumbsId = thumbsId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public Integer getItemType() {
        return itemType;
    }

    public void setItemType(Integer itemType) {
        this.itemType = itemType;
    }

    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}